import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-plugin-persistedstate';


import App from './App.vue'
import router from './router'

const app = createApp(App)

const pinia = createPinia();

//全局开启pinia持久化
pinia.use(
    createPersistedState({
        auto:true
    })
);


app.use(pinia).use(router).mount('#app')

